package com.itheima.Service.impl;

import com.itheima.Service.DeptService;
import com.itheima.mapper.UserMapper;
import com.itheima.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DeptServiceimpl implements DeptService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> findAll() {
          return userMapper.findAll();
    }
}
